package 栈;

public class test1 {
    public static void main(String[] args) {
       /*LinkedListStack stack=new LinkedListStack<>(1000);
       ArrayStack stack1=new ArrayStack(1000);
        stack.push(1);
        stack.push(2);
        stack.push(3);*/
      /* for(Object i:stack){//遍历栈
           System.out.println(i);
       }

        for(Object value:stack){//迭代器循环遍历
            System.out.println(value);
        }
       while(!stack.isEmpty()){
           System.out.println(stack.pop());
       }*/
     /* measure a=new measure();
        System.out.println(a.isValid("((()))"));
        System.out.println(a.isValid("({})"));*/

    }
}
